Handle run time error

Hi all,

I am running multiple dxl scripts sequentially,I handled error with noError and lastError commands in every dxl scripts.

But it seems that they don't handle all run time error. So for now i am handling those exception/error manually but in the future i want to handle run time 

exception automatically. 

Is there any way i can check whether my script is running or not and raise a flag or alert if they stopped due to run time exception/error.

I am running dxl script at the back end of my C# code.

I use oleGetResult and oleSetResult method to check correct execution of code but they wont work in the scenario when run time exception is occurring 

as it stops the entire code from executing.

 

Is there any method which check run time exception and raise flag as soon as they occurs.Or any script that does that

 

Thanks in advance.

Tushar Zagade

 

 

 


Tusharz - Mon Jan 29 05:06:00 EST 2018